package com.ruoyi.system.domain.award.teach;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 教学获奖教师对象 teach_award_teacher
 * 
 * @author ruoyi
 * @date 2025-08-26
 */
public class TeachAwardTeacher extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    private Long id;

    /** 奖项id */
    @Excel(name = "奖项id")
    private Long teachId;

    /** 获奖教师id */
    @Excel(name = "获奖教师id")
    private String userId;

    /** 获奖教师姓名 */
    @Excel(name = "获奖教师姓名")
    private String userName;

    /** 排名 */
    @Excel(name = "排名")
    private Long rank;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setTeachId(Long teachId) 
    {
        this.teachId = teachId;
    }

    public Long getTeachId() 
    {
        return teachId;
    }

    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }

    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }

    public void setRank(Long rank) 
    {
        this.rank = rank;
    }

    public Long getRank() 
    {
        return rank;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("teachId", getTeachId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("rank", getRank())
            .toString();
    }
}
